Dart.Snmp Namespace > User Class > User Constructor : User Constructor(Byte[],String,String,AuthenticationProtocol,String,PrivacyProtocol) |
Public Function New( _ ByVal engineId() As Byte, _ ByVal name As String, _ ByVal authenticationPassword As String, _ ByVal authenticationProtocol As AuthenticationProtocol, _ ByVal privacyPassword As String, _ ByVal privacyProtocol As PrivacyProtocol _ )
Dim engineId() As Byte Dim name As String Dim authenticationPassword As String Dim authenticationProtocol As AuthenticationProtocol Dim privacyPassword As String Dim privacyProtocol As PrivacyProtocol Dim instance As New User(engineId, name, authenticationPassword, authenticationProtocol, privacyPassword, privacyProtocol)
public User( byte[] engineId, string name, string authenticationPassword, AuthenticationProtocol authenticationProtocol, string privacyPassword, PrivacyProtocol privacyProtocol )
Exception | Description |
---|---|
System.ArgumentException | A required parameter is a string of 0 length or null, or authenticationPassword is null and privacyPassword is not. |
If privacyPassword in not null, then authenticationPassword must not be null.